<script>
const CART_KEY = 'cart';

export default {
	onLaunch: function() {
		console.log('App Launch');
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		uni.setStorageSync(CART_KEY, this.$store.state.cart);
	}
};
</script>

<style>
/*每个页面公共css */
@import url('./css/iconfont.css');
page {
	color: #333;
}
.text-line2 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
</style>
